package cn.gd.mapper.frequentlyUsedURLs;

import cn.gd.logging.RecordLog;
import cn.gd.pojo.FrequentlyUsedURLs;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface FrequentlyUsedURLsMapper {
    @RecordLog(desc = "查询当前登录用户的常用地址")
    List<FrequentlyUsedURLs> queryFrequentlyUsedURLs(@Param("userID") Integer userID);
    @RecordLog(desc = "修改当前登录用户指定的常用地址的信息")
    Integer updateFrequentlyUsedURLsById(@Param("frequentlyUsedURLs") FrequentlyUsedURLs frequentlyUsedURLs);
    @RecordLog(desc = "删除常用地址")
    Integer deleteFrequentlyUsedURLsById(@Param("id") Integer id);
    @RecordLog(desc = "新增一个新的常用地址")
    Integer addFrequentlyUsedRLs(@Param("f") FrequentlyUsedURLs frequentlyUsedURLs);
}
